<template>
  <div style="display: flex">
    <div>
      <CloudCascader
        style="width: 360px"
        :options="options"
        placeholder="Please select"
        :disabled="true"
        @change="onChange"
      ></CloudCascader>
    </div>
  </div>
</template>

<script>
export default {
  title: '13.禁用',
  subTitle: '禁用',
  data() {
    return {
      checked: [],
      options: [
        {
          value: 'zhejiang',
          label: 'Zhejiang',
          children: [
            {
              value: 'hangzhou',
              label: 'Hangzhou',
              children: [
                {
                  value: 'xihu',
                  label: 'West Lake',
                  code: 752100,
                },
              ],
            },
          ],
        },
        {
          value: 'jiangsu',
          label: 'Jiangsu',
          children: [
            {
              value: 'nanjing',
              label: 'Nanjing',
              children: [
                {
                  value: 'zhonghuamen',
                  label: 'Zhong Hua Men',
                  code: 453400,
                },
              ],
            },
          ],
        },
      ],
    }
  },
  methods: {
    onChange(value) {
      console.log(value);
      console.log('this.checked', this.checked)
    }
  }
}
</script>

<style lang="scss">
</style>